import React from './React'

const ReactDom = {
  createRoot(container: HTMLElement) {
    return {
      render(ele: any) {
        React.render(ele, container)
      }
    }
  }
}

export default ReactDom
